package com.mes.spc.rule;

public class SpcRule0 extends SPCCommandbase {
    public int id = 0;
    public int warningCount = 1;
    public String title = "规则0";
    public String description = "超出规格限";

    public int getId() {
        return id;
    }

    public int getWarningCount() {
        return warningCount;
    }

    public String getTitle() {
        return title;
    }

    public String getDescription() {
        return description;
    }

    public boolean excute(double data, double usl, double lsl, double ucl, double lcl, double standard)
    {
        if (data > usl || data < lsl)
            return true;
        return false;
    }
}
